# -*- coding:utf-8 -*-

class Team(object):
    
    _games = []
    _name = None
    
    def setName(self, name):
        self._games = []
        self._name = name
        
    def getName(self):
        return self._name
    
    def addGame(self, game):
        self._games.append(game)
        
    def getGames(self):
        return self._games